If you don't have a browser that can supports forms, you can still make a search.
Strings
Strings are any sequence of characters, including the special symbols
^
for beginning of line and
$
for end of line. The following special characters (
$,
^,
*,
[,
|,
(,
),
!, and
\
) as well as the following meta characters special to glimpse:
;,
,,
#,
<,
>,
-, and
., should be preceded by
\
if they are to be matched as regular characters. For example,
\^abc\\
corresponds to the string
^abc\, whereas
^abc
corresponds to the string abc at the beginning of a line.
Classes
of
characters
A list of characters inside
[]
(in order) corresponds to any character from the list. For example,
[a-ho-z]
is any character between a and h or between o and z. The symbol
^
inside
[]
complements the list. For example,
[^i-n]
denote any character in the character set except character
i
to
n. The symbol
^
thus has two meanings, but this is consistent with egrep. The symbol `.' (don't care) stands for any symbol (except for the newline symbol).
Boolean
operations
Glimpse supports an
AND
operation denoted by the symbol `;' and an
OR
operation denoted by the symbol `,', but not a combination of both. For example,
pizza;cheeseburger
will output all lines containing both patterns.
Wild
cards
The symbol
#
is used to denote a sequence of any number (including 0) of arbitrary characters. The symbol
#
is equivalent to
.*
in egrep. For example,
ex#e
matches
example.
Combination
of
exact
and
approximate
matching
Any pattern inside angle brackets
<>
must match the text exactly even if the match is with errors. For example,
<mathemat>ics
matches
mathematical
with one error (replacing the last
s
with an
a), but
mathe<matics>
does not match
mathematical
no matter how many errors are allowed. (This option is buggy at the moment.)
Jennifer Myers <jmyers@eecs.nwu.edu> (5-Sep-94)